﻿using LightCAD.Core;
using SkiaSharp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LightCAD.Runtime
{
    public interface IDrawingEditControl
    {
        IModel3DEditControl Model3DEditControl { get; }

        IViewportControl[] Viewports { get; }
        void SetViewportActive(long vportId);
        void RefreshViewports(params long[] vportIds);
        void AttachSpaceChanged(Action<bool, int> spaceChanged);
        void DetachSpaceChanged(Action<bool, int> spaceChanged);
        void SetActive(bool isActive);
    }
}
